package com.itheima.dao;

import com.itheima.entity.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeDao {

    List<Employee> findAll();

    void insert(Employee employee);

    List<Employee> findByCondition(Employee employee);

    void deleteById(Integer empId);

    void updateById(Employee employee);

    Employee findById(Integer empId);
}
